package com.sky.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author 褚金龙
 * @Date 2024/9/17 10:32
 */
@Data
@Builder
@ApiModel(description = "c端用户数据封装")
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty("id")
    private  Long id;
    @ApiModelProperty("微信用户唯一标识")
    private  String openid;
    @ApiModelProperty("姓名")
    private  String name;
    @ApiModelProperty("手机号")
    private  String phone;
    @ApiModelProperty("性别")
    private  String sex;
    @ApiModelProperty("身份证号")
    private  String idNumber;
    @ApiModelProperty("头像")
    private  String avatar;
    @ApiModelProperty("注册时间")
    private LocalDateTime createTime;

}
